package com.hbisedm.interninfosys.intern.entity.message;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class SampleMessage {
    /**
     * 前台聊天界面 渲染的信息数据
     */
    private String name;
    private String type;
    private String msg;
    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
}
